package com.tmt.im.common.enums;


import com.tmt.springboot.common.annotation._EnumDescriptor;
import lombok.Getter;

/**
 * 权限枚举
 *
 * @Description TODO
 * @Author wuyi
 * @Date 2024/7/31 10:46
 * @Version 1.0
 **/
@Getter
public enum IMAuthorityEnum {

    @_EnumDescriptor(name = "系统任意权限", value = "VIRTUAL", note = "具备系统所有操作权限")
    IM_AUTH_ALL,

    @_EnumDescriptor(name = "聊天群组任意权限", value = "VIRTUAL", note = "聊天群组任意权限")
    IM_AUTH_SESSION_ALL,

    @_EnumDescriptor(name = "创建聊天群组", value = "INTERFACE", note = "创建聊天群组")
    IM_AUTH_CREATE_SESSION,

    @_EnumDescriptor(name = "群组信息查询权限", value = "INTERFACE", note = "群组信息查询权限")
    IM_AUTH_SESSION_QUERY;

}
